<html>
<head>
<meta charset="utf-8">
<title>资源列表</title>
<#if (page.totalItems >= page.pageSize)>
<link href="/css/pager.css" rel="stylesheet" type="text/css" />
<script src="/js/jquery-1.6.2.js" type="text/javascript"></script>
<script src="/js/jquery.pager.js" type="text/javascript"></script>
<script type="text/javascript" language="javascript">
   $(document).ready(function() {
       $("#pager").pager({ pagenumber: ${page.pageNo}, pagecount: ${page.getTotalPages()}, buttonClickCallback: PageClick});
   });
   PageClick = function(pageclickednumber) {
       location.href = "/list.shtml?pageNo="+pageclickednumber;
   }
</script>
</#if>
</head>
<body>
<div>
<table>
<tr><td width="50px;"></td><td>链接地址</td><td>操作</td></tr>
<#list page.result as p>
<tr><td>${p_index+1} :</td><td>${p.url}</td><td><a href="${p.url}" target="_blank"><u>go</u></a></td></tr>
</#list>
</table>
</div>
<br/>
<div style="color:red">总有${page.totalItems}条可留言的数据,当前是第${page.pageNo}页,每页显示${page.pageSize}条数据 -----<a href="/list.shtml?pageNo=${page.pageNo}&type=export">导出当前页数据</a></div>
<div id="pager"></div>
</body>
</html>